<div class="content">   
﻿<table border="1">
<tr>
    <td width="20px">ID</td>
    <td width="130px" max-width="160px"><?php echo $this->translate('Email'); ?></td>
    <td width="60px"><?php echo $this->translate('Firstname'); ?></td>
    <td><?php echo $this->translate('Lastname'); ?></td>
    <td><?php echo $this->translate('Balance'); ?></td>
    <td><?php echo $this->translate('Phone'); ?></td>
    <td><?php echo $this->translate('Company'); ?></td>
    <td><?php echo $this->translate('Country'); ?></td>
    <td><?php echo $this->translate('City'); ?></td>
    <td><?php echo $this->translate('Address'); ?></td>
    <td><?php echo $this->translate('Site'); ?></td>
    <td><?php echo $this->translate('Date'); ?></td>
    <td width="60px"><?php echo $this->translate('Visits'); ?></td>
    
</tr>
<tr>
    <td><?php echo $this->user[0]['id']; ?></td>
    <td><?php echo $this->user[0]['email']; ?></td>
    <td><?php echo $this->user[0]['firstName']; ?></td>
    <td><?php echo $this->user[0]['lastName']; ?></td>
    <td><?php echo $this->status['status']; ?></td>
    <td><?php echo $this->user[0]['phone']; ?></td>
    <td><?php echo $this->user[0]['company']; ?></td>
    <td><?php echo $this->country['name']; ?></td>
    <td><?php echo $this->user[0]['city']; ?></td>
    <td><?php echo $this->user[0]['adress']; ?></td>
    <td><?php echo $this->user[0]['site']; ?></td>
    <td><?php echo $this->user[0]['date']; ?></td>
    <td><?php echo $this->user[0]['visits']; ?></td>
    
</tr>
</table>
<?php //var_dump($this->country);
//ссылка на удаление
echo "<a href=" . $this->url(array(
                                    'controller' => 'admin',
                                    'action' => 'delete',
                                    'id' => $this->user[0]['id'])) . ">".$this->translate('Delete')."</a>" . '/';

//ссылка на редактирование
echo "<a href=" . $this->url(array(
                                    'controller' => 'admin',
                                    'action' => 'update',
                                    'id' => $this->user[0]['id'])) . ">".$this->translate('Update')."</a>" . "<br />";   
//платежная история
echo "<a href=" . $this->url(array(
                                    'controller' => 'admin',
                                    'action' => 'transactions',
                                    'id' => $this->user[0]['id'])) . ">".$this->translate('Transactions')."</a>" . "<br />";   
?>  
</div>